package user;

public class Save {
    private String accountid;
    private String name;
    private String good;

    private int number;
    private double money;
    private String pwd;
    private double total;

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getAccountid() {
        return accountid;
    }

    public void setAccountid(String accountid) {
        this.accountid = accountid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGood() {
        return good;
    }

    public void setGood(String good) {
        this.good = good;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
    //setter 和 getter
//alt+insert 快捷键

    @Override
    public String toString() {
        return "Save{" + "accountid='" + accountid + '\'' +
                ", name='" + name + '\'' +
                ", goods='" + good + '\'' + ", number='" + number + '\'' +
                ", money=" + money + '}';
    }

}
